Faster Tensor Canonicalization
نویسنده
چکیده
The Butler-Portugal algorithm for obtaining the canonical form of a tensor expression with respect to slot symmetries and dummy-index renaming suffers, in certain cases with a high degree of symmetry, from O(n!) explosion in both computation time and memory. We present a modified algorithm which alleviates this problem in the most common cases—tensor expressions with subsets of indices which are totally symmetric or totally antisymmetric—in polynomial time. We also present an implementation of the labelrenaming mechanism which improves upon that of the original Butler-Portugal algorithm, thus providing a significant speed increase for the average case as well as the highlysymmetric special case. The worst-case behavior remains O(n!), although it occurs in more limited situations unlikely to appear in actual computations. We comment on possible strategies to take if the nature of a computation should make these situations more likely.
منابع مشابه
Riemann Tensor Polynomial Canonicalization by Graph Algebra Extension
Tensor expression simplification is an “ancient” topic in computer algebra, a representative of which is the canonicalization of Riemann tensor polynomials. Practically fast algorithms exist for monoterm canonicalization, but not for multiterm canonicalization. Targeting the multiterm difficulty, in this paper we establish the extension theory of graph algebra, and propose a canonicalization al...
متن کاملxPerm: fast index canonicalization for tensor computer algebra
We present a very fast implementation of the Butler-Portugal algorithm for index canonicalization with respect to permutation symmetries. It is called xPerm, and has been written as a combination of a Mathematica package and a C subroutine. The latter performs the most demanding parts of the computations and can be linked from any other program or computer algebra system. We demonstrate with te...
متن کاملA Layered Approach to XML Canonicalization
XML Canonicalization enables reliable textual and binary comparison of XML documents through the removal of irrelevant differences in structure and content. Though XML Canonicalization is critical for XML Signatures, it also has value in other XML applications such as version control. Currently, the approach to XML Canonicalization is to write a single specification that details how all parts o...
متن کاملEffect of frequency weighting on MLP-based speaker canonicalization
Accurate and efficient speaker canonicalization is proposed to improve the performance of speaker-independent ASR systems. Vocal tract length normalization (VTLN) is often applied to speaker canonicalization in ASR; however, it requires parallel decoding of speech when estimating the optimal warping parameter. In addition, VTLN provides the same linear spectral transformation in an utterance, a...
متن کاملCanonicalization of feature parameters for automatic speech recognition
Acoustic models (AMs) of an HMM-based classifier include various types of hidden variables such as gender type, speaking rate, and acoustic environment. If there exists a canonicalization process that reduces the influence of the hidden variables from the AMs, a robust automatic speech recognition (ASR) system can be realized. In this paper, we describe the configuration of a canonicalization p...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1702.08114 شماره
صفحات -
تاریخ انتشار 2017